<?php

//php函数 读文件;
//file_readfile->_frdf
//str||str _frdf(str $filename)
//eg: _frdf('a.html')

function _frdf($filename)
{
	$file = @fopen($filename,"r");
	$ret=false;
		while(! feof($file)){
		    $ret=$ret.fgets($file)."  ";
		}
		fclose($file);
    return $ret;
}

//覆盖
//df_writefile_cover
function _fwf($filename,$conntent)
{  
	$file=fopen($filename,"w+b");
	$ret =fwrite($file,$conntent);
	fclose($file);
	return  $ret;
}
?>